package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entity.Picture;
import cn.tedu.csmall.product.pojo.vo.PictureStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PictureMapper {
    int insert(Picture pic);

    int insertBatch(List<Picture> pic);

    int deleteById(Long id);

    int deleteByIds(Long[] ids);

    int countByAlbumId(Long AlbumId);

    PictureStandardVO getStandardById(Long id);
}
